An Investigation of the Cost of Agreement in Synchronization
نویسنده
چکیده
The prevalence of multicore computers is leading to an increase in the amount of concurrent software. Unfortunately, parallelization does not necessarily improve performance. A concurrent program may run slower than the sequential equivalent. It may even scale negatively performance may get worse as more processors are added. It is important to understand the causes of this poor performance because the trend to multicore is likely to continue. This paper presents a suite of performance benchmarks which are used to examine the cost of synchronizing access to shared data. The components of the cost include the cost of blocking, the cost of atomic instructions, and the cost of sharing data. These costs can be described in terms of the need to agree on something. In the case of blocking, it is the need to agree on whose turn it is. In the case of atomic instructions, it is the need to agree on which CPU gets to execute the instruction next. In the case of sharing data, it is the need to agree on what the current value of a shared variable is. The benchmarks show that the agreement on the value of shared data is the main impediment to scalability. The benchmark results are used to predict the scalability properties of several common synchronization approaches. The approaches include locking, non-blocking synchronization, and relativistic programming. Each approach's need-to-agree is shown to be a useful predictor for the approach's performance and scalability.
منابع مشابه
Investigation of the Effect of Synchronization Techniques on the Stability of Grid-Connected Photovoltaic Systems
Abstract: Due to the increasing use of microgrids, investigation of their stability is of special interest. One of the disadvantages of an inverter-based distribution unit is that at any given time, phase and frequency information at the point of common coupling (PCC) is required that affected the stability. The synchronization techniques include synchronous reference frame phase-locked loop (S...
متن کاملSynchronization of a Heart Delay Model with Using CPSO Algorithm in Presence of Unknown Parameters
Heart chaotic system and the ability of particle swarm optimization (PSO) method motivated us to benefit the method of chaotic particle swarm optimization (CPSO) to synchronize the heart three-oscillator model. It can be a suitable algorithm for strengthening the controller in presence of unknown parameters. In this paper we apply adaptive control (AC) on heart delay model, also examine the sys...
متن کاملComputer Network Time Synchronization using a Low Cost GPS Engine
Accurate and reliable time is necessary for financial and legal transactions, transportation, distribution systems, and many other applications. Time synchronization protocols such as NTP (the Network Time Protocol) have kept clocks of such applications synchronized to each other for many years. Nowadays there are many commercial GPS based NTP time server products at the market but they almost ...
متن کاملImproving LoRaWAN Performance Using Reservation ALOHA
LoRaWAN is one of the new and updated standards for IoT applications. However, the expected high density of peripheral devices for each gateway, and the absence of an operative synchronization mechanism between the gateway and peripherals, all of which challenges the networks scalability. In this paper, we propose to normalize the communication of LoRaWAN networks using a Reservation-ALOHA (R-A...
متن کاملSynchronization of Microgrid Considering the Dynamics of V2Gs Using an Optimized Fractional Order Controller based Scheme
In this work, a new control scheme for synchronization of AC microgrids with upstream power grid is presented. The effects of V2Gs (vehicle to grid) dynamics on synchronization process is studied. This new control approach is based on the optimal fractional calculus and has been developed for synchronization of the microgrid. The V2Gs effect on the dynamics of the microgrid is analyzed through ...
متن کاملFinite Time Mix Synchronization of Delay Fractional-Order Chaotic Systems
Chaos synchronization of coupled fractional order differential equation is receiving increasing attention because of its potential applications in secure communications and control processing. The aim of this paper is synchronization between two identical or different delay fractional-order chaotic systems in finite time. At first, the predictor-corrector method is used to obtain the solutions ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009